package com.naiterui.ehp.bs.cms.modules.user.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.user.entity.DrConsultComment;
import com.naiterui.ehp.bs.cms.modules.user.vo.ConsultCommentVO;
import com.naiterui.ehp.bs.cms.modules.user.vo.DoctorPageVO;
import org.apache.ibatis.annotations.Param;

/**
 * @Description 会话评价
 * @Author gongbaoqiang
 * @Date 2020/7/2 7:48 PM
 */
@DS(DsName.EHP)
public interface ConsultCommentMapper extends BaseMapper<DrConsultComment> {

    Page<ConsultCommentVO> findByDoctor(@Param("page") IPage<DoctorPageVO> page, @Param("doctorId") Long doctorId);
}
